(:**************************************************************:)
(: Test: functx-fn-normalize-space-all                                  :)
(: Written by: Priscilla Walmsley (Frans Englich is maintainer) :)
(: Date: 2008-05-16+02:00                                       :)
(:**************************************************************:)

declare namespace functx = "http://www.example.com/";
(normalize-space('query'), normalize-space(' query '), normalize-space('xml query'), normalize-space('xml       query'), normalize-space('xml
query'), normalize-space(''), normalize-space('   '), normalize-space(()), normalize-space(
   <element>   query  </element>))